package com.gyx.lottery.service;



public interface VerificationCodeService {


    /**
     * 发送验证码，并把验证码放入redis缓存中去
     * @param phoneNumber
     */
    void sendVerificationCode(String phoneNumber);

    /**
     * 获取验证码，从redis缓存中获取
     * @param phoneNumber
     * @return
     */
    String getVerificationCode(String phoneNumber);
}
